/* 头部 */
#header{
    display: flex;
    height: 46px;
    justify-content: space-between;
    background-color: red;
    padding: 0 10px;
    align-items: center;
    color: #fff;
}
#header a{
    color: #fff;
    font-size: 18px;
}
#header span{
    font-size: 24px;
}
#header input{
    flex: 1;
    margin: 0 10px;
    text-indent: 20px;
    border-radius: 20px;
    height: 30px;
}
/* 轮播 */
#main{
    background-color: #f6f6f6;
}
#main .swiper-pagination-bullet{
    border-radius: 0;
    width: 10px;
    height: 4px;
}
#main .swiper-pagination-bullet-active{
    background-color: #fff;
}
.f2{
    padding-bottom: 20px;
}
.f2 ul{
    display: flex;
    flex-wrap: wrap;
}
.f2 ul li{
    width: 20%;
    padding: 10px;
    box-sizing: border-box;
    font-size: 12px;
}
.f2 ul li a{
    color: #b8b8b8;
}
.f2 .swiper-pagination-bullet{
    background-color: #e43130;
    opacity: 0.2;
}
.f2 .swiper-pagination-bullet-active{
    opacity: 1;
}
/* 秒杀 */
#seckill{
    margin: 0 5px;
    background-color: #fff;
    padding: 10px 5px;
    border-radius: 10px;
}
#seckill .title{
    display: flex;
    justify-content: space-between;
}
#seckill .title strong{
    font-size: 20px;
}
#seckill .title p span{
    font-size: 12px;
}
#seckill .title a{
    position: relative;
    padding-right: 25px;
}
#seckill .title a span{
    width: 20px;
    height: 20px;
    color: #fff;
    background-color: #e43130;
    display: block;
    border-radius: 50%;
    text-align: center;
    position: absolute;
    right: 0;
    top: 0;
}
#seckill .con{
    display: flex;
    width: 100%;
}
#seckill .con li{
    width: 25%;
    padding: 10px;
    box-sizing: border-box;
}
#seckill .con li p{
    line-height: 20px;
}
/* 新人专享 */
.new-user{
    display: flex;
    justify-content: space-between;
}
.new-user a{
    width: 49%;
    padding: 5px;
}
/* 每日 */
#dayshopping .con{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0 5px;
}
#dayshopping .con li{
    width: calc(25% - 0.75px);
    margin-bottom: 1px;
    background-color: #fff;
    text-align: center;
    padding-top: 5px;
    list-style: none;
}
#dayshopping .con li a{
    font-size: 14px;
    color: #000;
}
#dayshopping .con li:nth-child(odd) strong{
    background-image:linear-gradient(90deg,#ff2a00,pink) ;
    -webkit-background-clip: text;
    color: transparent;
}
#dayshopping .con li:nth-child(even) strong{
    background-image:linear-gradient(90deg,#2ad396,yellowgreen) ;
    -webkit-background-clip: text;
    color: transparent;
}
#news{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    margin: 10px 15px;
    background-color: #fff;
    height: 40px;
}
#news>strong{
    font-size: 20px;
}
#news .f3{
    flex: 1;
    font-size: 12px;
    line-height: 40px;
    height: 40px;
    margin-left: 5px;
}

#news .swiper-wrapper .swiper-slide{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* 为你推荐 */
#recommend .con{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin:10px 5px;
}
#recommend .con li{
    width: 48%;
    background-color: #fff;
    margin-bottom: 5px;
}
#recommend .con li p{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    padding: 0 5px;
    line-height: 22px;
}
#recommend .con li p:last-child{
    display: flex;
    justify-content: space-between;
    padding: 5px;
}
